package com.qiaofang.applet.service.member.service.mapstruct;

import com.qiaofang.applet.service.member.domain.MemberSubscribe;
import com.qiaofang.applet.service.member.service.dto.MemberSubscribeDetailDto;
import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface MemberSubscribeMapper {

    MemberSubscribeDetailDto domainToDetailDto(MemberSubscribe memberSubscribe);

    List<MemberSubscribeDetailDto> domainToDetailDto(List<MemberSubscribe> list);

}
